package com.rpframework.website.daole.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

//`id` int(11) NOT NULL,
//`name` varchar(50) NOT NULL COMMENT '汽车显示名',
//`hourprice` float(10,0) DEFAULT NULL COMMENT '时租单价',
//`dayprice` float(10,0) DEFAULT NULL COMMENT '日租费用',
//`monthprice` float(10,0) DEFAULT NULL COMMENT '月租单价',
//`seasonprice` float(10,0) DEFAULT NULL COMMENT '季租单价',
//`yearprice` float(10,0) DEFAULT NULL COMMENT '年租单价',
//`gearbox` varchar(40) DEFAULT NULL COMMENT '变速箱编码',
//`model` varchar(40) DEFAULT NULL COMMENT '型号代码',
//`brand` varchar(40) DEFAULT NULL COMMENT '品牌代码',
//`color` varchar(40) DEFAULT NULL COMMENT '颜色代码',
//`seatTotal` tinyint(2) DEFAULT NULL COMMENT '座位数',
//`fuel` varchar(40) DEFAULT NULL COMMENT '燃料类型代码',
//`outputVolume` float(5,1) DEFAULT NULL COMMENT '排量',
//`drive` varchar(2) DEFAULT NULL COMMENT '驱动方式代码',
//`isSkyLight` tinyint(1) DEFAULT '0' COMMENT '是否有天窗 1，有  0，无',
//`isPDC` tinyint(1) DEFAULT NULL COMMENT '是否有倒车雷达 ',
//`media` varchar(40) DEFAULT NULL COMMENT 'DVD\\CD',
//`doorTotal` tinyint(1) DEFAULT NULL COMMENT '车门数',
//`gradeOfGasoline` varchar(40) DEFAULT NULL COMMENT '汽油编号ID',
//`hasRadar` tinyint(1) DEFAULT NULL COMMENT '有无停车雷达',
//`seatMaterial` varchar(40) DEFAULT NULL COMMENT '汽车材质编码',
//`ankVolume` int(6) DEFAULT NULL COMMENT '油箱容量',
//`airSacs` tinyint(1) DEFAULT NULL COMMENT '气囊数',
//`hasGPS` tinyint(1) DEFAULT NULL COMMENT '有无GPS',
//`urlList` text COMMENT '产品图片地址，【】用","分隔',
//`stationId` bigint(20) DEFAULT NULL COMMENT '商店主键',
//`endurance` float(8,2) DEFAULT NULL COMMENT '续航单位公里',

//`createTime` int(11) DEFAULT NULL COMMENT '创建时间',
//`modifyTime` int(11) DEFAULT NULL COMMENT '修改时间',

/** 
 * 汽车表
 * @author tian
 * @date 2016年3月24日 上午9:47:35
 */
@TableMapperAnnotation(tableName = "car", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id") 

public class Car extends Domain{
	@FieldMapperAnnotation 
	Integer id; 
	
	
	@FieldMapperAnnotation
	String name; 
	
	@FieldMapperAnnotation
	Double hourprice; 
	
	
	@FieldMapperAnnotation
	Double dayprice; 
	
	
	@FieldMapperAnnotation
	Double monthprice; 
	
	@FieldMapperAnnotation
	Double seasonprice; 
	
	
	@FieldMapperAnnotation
	Double yearprice; 
	
	
	@FieldMapperAnnotation
	String gearbox; 
	
	
	@FieldMapperAnnotation
	String model;
	
	@FieldMapperAnnotation
	String brand;
	
	@FieldMapperAnnotation
	String color;
	
	@FieldMapperAnnotation
	Integer seatTotal;
	
	@FieldMapperAnnotation
	String fuel;
	
	@FieldMapperAnnotation
	Double outputVolume;
	
	@FieldMapperAnnotation
	Integer isSkyLight;
	
	@FieldMapperAnnotation
	Integer isPDC;
	
	@FieldMapperAnnotation
	Integer doorTotal;
	
	@FieldMapperAnnotation
	String gradeOfGasoline;
	
	@FieldMapperAnnotation
	Integer hasRadar;
	
	@FieldMapperAnnotation
	String seatMaterial;
	
	@FieldMapperAnnotation
	Integer ankVolume;
	
	@FieldMapperAnnotation
	Integer airSacs;
	
	
	@FieldMapperAnnotation
	Integer hasGPS;
	
	@FieldMapperAnnotation
	String urlList;
	
	@FieldMapperAnnotation
	Integer stationId;
	
	@FieldMapperAnnotation
	Integer endurance;
	
	@FieldMapperAnnotation
	String  userRole;
	
	@FieldMapperAnnotation
	Integer  state;
	
	//站点
	@FieldMapperAnnotation
	Station station;
	
	@FieldMapperAnnotation
	String drive;
	
	@FieldMapperAnnotation
	Integer  createTime;
	
	@FieldMapperAnnotation
	Integer  modifyTime;
	
	
	//`createTime` int(11) DEFAULT NULL COMMENT '创建时间',
	//`modifyTime` int(11) DEFAULT NULL COMMENT '修改时间',
	
	
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getHourprice() {
		return hourprice;
	}

	public void setHourprice(Double hourprice) {
		this.hourprice = hourprice;
	}

	public Double getDayprice() {
		return dayprice;
	}

	public void setDayprice(Double dayprice) {
		this.dayprice = dayprice;
	}

	public Double getMonthprice() {
		return monthprice;
	}

	public void setMonthprice(Double monthprice) {
		this.monthprice = monthprice;
	}

	public Double getSeasonprice() {
		return seasonprice;
	}

	public void setSeasonprice(Double seasonprice) {
		this.seasonprice = seasonprice;
	}

	public Double getYearprice() {
		return yearprice;
	}

	public void setYearprice(Double yearprice) {
		this.yearprice = yearprice;
	}

	public String getGearbox() {
		return gearbox;
	}

	public void setGearbox(String gearbox) {
		this.gearbox = gearbox;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public Integer getSeatTotal() {
		return seatTotal;
	}

	public void setSeatTotal(Integer seatTotal) {
		this.seatTotal = seatTotal;
	}

	public String getFuel() {
		return fuel;
	}

	public void setFuel(String fuel) {
		this.fuel = fuel;
	}

	public Double getOutputVolume() {
		return outputVolume;
	}

	public void setOutputVolume(Double outputVolume) {
		this.outputVolume = outputVolume;
	}

	public Integer getIsSkyLight() {
		return isSkyLight;
	}

	public void setIsSkyLight(Integer isSkyLight) {
		this.isSkyLight = isSkyLight;
	}

	public Integer getIsPDC() {
		return isPDC;
	}

	public void setIsPDC(Integer isPDC) {
		this.isPDC = isPDC;
	}

	public Integer getDoorTotal() {
		return doorTotal;
	}

	public void setDoorTotal(Integer doorTotal) {
		this.doorTotal = doorTotal;
	}

	public String getGradeOfGasoline() {
		return gradeOfGasoline;
	}

	public void setGradeOfGasoline(String gradeOfGasoline) {
		this.gradeOfGasoline = gradeOfGasoline;
	}

	public Integer getHasRadar() {
		return hasRadar;
	}

	public void setHasRadar(Integer hasRadar) {
		this.hasRadar = hasRadar;
	}

	public String getSeatMaterial() {
		return seatMaterial;
	}

	public void setSeatMaterial(String seatMaterial) {
		this.seatMaterial = seatMaterial;
	}

	public Integer getAnkVolume() {
		return ankVolume;
	}

	public void setAnkVolume(Integer ankVolume) {
		this.ankVolume = ankVolume;
	}

	public Integer getAirSacs() {
		return airSacs;
	}

	public void setAirSacs(Integer airSacs) {
		this.airSacs = airSacs;
	}

	public Integer getHasGPS() {
		return hasGPS;
	}

	public void setHasGPS(Integer hasGPS) {
		this.hasGPS = hasGPS;
	}

	public String getUrlList() {
		return urlList;
	}

	public void setUrlList(String urlList) {
		this.urlList = urlList;
	}

	

	public Integer getStationId() {
		return stationId;
	}

	public void setStationId(Integer stationId) {
		this.stationId = stationId;
	}

	public Integer getEndurance() {
		return endurance;
	}

	public void setEndurance(Integer endurance) {
		this.endurance = endurance;
	}

	public String getUserRole() {
		return userRole;
	}

	public void setUserRole(String userRole) {
		this.userRole = userRole;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Station getStation() {
		return station;
	}

	public void setStation(Station station) {
		this.station = station;
	}

	public String getDrive() {
		return drive;
	}

	public void setDrive(String drive) {
		this.drive = drive;
	}

	public Integer getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Integer createTime) {
		this.createTime = createTime;
	}

	public Integer getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Integer modifyTime) {
		this.modifyTime = modifyTime;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	

}
